function Listener() {
    window.addEventListener('keydown',function(e) {
        switch (e.keyCode) {
            case 37:
                move([0,1,2,3]);
                move([4,5,6,7]);
                move([8,9,10,11]);
                move([12,13,14,15]);
                create();
                break;
            case 38:
                console.log('向上');
                move([0,4,8,12]);
                move([1,5,9,13]);
                move([2,6,10,14]);
                move([3,7,11,15]);     
                create();      
                break;
            case 39:
                console.log('向右');
                move([3,2,1,0]);
                move([7,6,5,4]);
                move([11,10,9,8]);
                move([15,14,13,12]);
                create();
                break;
            case 40:
                console.log('向下');
                move([12,8,4,0]);
                move([13,9,5,1]);
                move([14,10,6,2]);
                move([15,11,7,3]);  
                create();
                break;
            default:
                break;
        }
    })
}